package com.sh.data.engine.domain.integration.datasource.model.mapper;

import com.sh.data.engine.domain.integration.datasource.model.param.DataSourceIoTDBConnectParam;
import com.sh.data.engine.domain.integration.datasource.model.param.DataSourceIotDBSaveParam;
import com.sh.data.engine.domain.shims.iotdb.option.IoTDBOptions;
import org.mapstruct.Mapper;

/**
 * @author: mengzheng.mhc
 * @date: 2024/6/11 17:46
 */
@Mapper(componentModel = "spring")
public interface IoTDBOptionsMapper {

    IoTDBOptions paramToOptions(DataSourceIotDBSaveParam param);

    IoTDBOptions paramToOptions(DataSourceIoTDBConnectParam param);
}
